﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LevelEditor.Forms;

namespace LevelEditor.View
{
    public class DoUndoNothing : IDoUndo, IDisposable
    {
        #region Fields

        protected MainForm MainForm { get; set; }

        #endregion

        #region Constructors

        public DoUndoNothing(MainForm form)
        {
            MainForm = form;
        }

        #endregion

        #region Methods

        public virtual bool Do() { return true; }
        public virtual void Undo() {}
        public override string ToString()
        {
            return "Original file";
        }
        public virtual void Dispose() { }

        #endregion
    }
}
